package net.xiduth.game.player.content.events.objects;

import net.xiduth.game.WorldObject;
import net.xiduth.game.WorldTile;
import net.xiduth.game.player.Player;

/**
 * 
 * @author Jae <jae@xiduth.com>
 * 
 * @since <Oct 21, 2013>
 *
 */
public class ChaosTunnelsHandler {

	/** Portal ID: **/
	public static void handleObjects(final Player player,
			WorldObject object) {
	 if (object.getX() == 3287 && object.getY() == 5448 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3283, 5448, 0));

	} else if (object.getX() == 3283 && object.getY() == 5448 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3287, 5448, 0));

	} else if (object.getX() == 3307 && object.getY() == 5496 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3317, 5496, 0));

	} else if (object.getX() == 3317 && object.getY() == 5496 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3307, 5496, 0));

	} else if (object.getX() == 3318 && object.getY() == 5481 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3322, 5480, 0));

	} else if (object.getX() == 3322 && object.getY() == 5480 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3318, 5481, 0));

	} else if (object.getX() == 3299 && object.getY() == 5484 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3303, 5477, 0));

	} else if (object.getX() == 3303 && object.getY() == 5477 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3299, 5484, 0));

	} else if (object.getX() == 3286 && object.getY() == 5470 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3285, 5474, 0));

	} else if (object.getX() == 3285 && object.getY() == 5474 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3286, 5470, 0));

	} else if (object.getX() == 3290 && object.getY() == 5463 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3302, 5469, 0));

	} else if (object.getX() == 3302 && object.getY() == 5469 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3290, 5463, 0));

	} else if (object.getX() == 3296 && object.getY() == 5455 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3299, 5450, 0));

	} else if (object.getX() == 3299 && object.getY() == 5450 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3296, 5455, 0));

	} else if (object.getX() == 3280 && object.getY() == 5501 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3285, 5508, 0));

	} else if (object.getX() == 3285 && object.getY() == 5508 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3280, 5501, 0));

	} else if (object.getX() == 3300 && object.getY() == 5514 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3297, 5510, 0));

	} else if (object.getX() == 3297 && object.getY() == 5510 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3300, 5514, 0));

	} else if (object.getX() == 3289 && object.getY() == 5533 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3288, 5536, 0));

	} else if (object.getX() == 3288 && object.getY() == 5536 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3289, 5533, 0));

	} else if (object.getX() == 3285 && object.getY() == 5527 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3282, 5531, 0));

	} else if (object.getX() == 3282 && object.getY() == 5531 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3285, 5527, 0));

	} else if (object.getX() == 3325 && object.getY() == 5518 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3323, 5531, 0));

	} else if (object.getX() == 3323 && object.getY() == 5531 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3325, 5518, 0));

	} else if (object.getX() == 3299 && object.getY() == 5533 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3297, 5536, 0));

	} else if (object.getX() == 3297 && object.getY() == 5536 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3299, 5533, 0));

	} else if (object.getX() == 3321 && object.getY() == 5554 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3315, 5552, 0));

	} else if (object.getX() == 3315 && object.getY() == 5552 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3321, 5554, 0));

	} else if (object.getX() == 3291 && object.getY() == 5555 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3285, 5556, 0));

	} else if (object.getX() == 3285 && object.getY() == 5556 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3291, 5555, 0));

	} else if (object.getX() == 3266 && object.getY() == 5552 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3262, 5552, 0));

	} else if (object.getX() == 3262 && object.getY() == 5552 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3266, 5552, 0));

	} else if (object.getX() == 3256 && object.getY() == 5561 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3253, 5561, 0));

	} else if (object.getX() == 3253 && object.getY() == 5561 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3256, 5561, 0));

	} else if (object.getX() == 3249 && object.getY() == 5546 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3252, 5543, 0));

	} else if (object.getX() == 3252 && object.getY() == 5543 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3249, 5546, 0));

	} else if (object.getX() == 3261 && object.getY() == 5536 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3268, 5534, 0));

	} else if (object.getX() == 3268 && object.getY() == 5534 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3261, 5536, 0));

	} else if (object.getX() == 3243 && object.getY() == 5526 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3241, 5529, 0));

	} else if (object.getX() == 3241 && object.getY() == 5529 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3243, 5526, 0));

	} else if (object.getX() == 3230 && object.getY() == 5547 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3226, 5553, 0));

	} else if (object.getX() == 3226 && object.getY() == 5553 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3230, 5547, 0));

	} else if (object.getX() == 3206 && object.getY() == 5553 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3204, 5546, 0));

	} else if (object.getX() == 3204 && object.getY() == 5546 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3206, 5553, 0));

	} else if (object.getX() == 3211 && object.getY() == 5533 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3214, 5533, 0));

	} else if (object.getX() == 3214 && object.getY() == 5533 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3211, 5533, 0));

	} else if (object.getX() == 3208 && object.getY() == 5527 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3211, 5523, 0));

	} else if (object.getX() == 3211 && object.getY() == 5523 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3208, 5527, 0));

	} else if (object.getX() == 3201 && object.getY() == 5531 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3197, 5529, 0));

	} else if (object.getX() == 3197 && object.getY() == 5529 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3201, 5531, 0));

	} else if (object.getX() == 3202 && object.getY() == 5515 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3196, 5512, 0));

	} else if (object.getX() == 3196 && object.getY() == 5512 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3202, 5515, 0));

	} else if (object.getX() == 3190 && object.getY() == 5515 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3190, 5519, 0));

	} else if (object.getX() == 3190 && object.getY() == 5519 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3190, 5515, 0));

	} else if (object.getX() == 3185 && object.getY() == 5518 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3181, 5517, 0));

	} else if (object.getX() == 3181 && object.getY() == 5517 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3185, 5518, 0));

	} else if (object.getX() == 3187 && object.getY() == 5531 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3182, 5530, 0));

	} else if (object.getX() == 3182 && object.getY() == 5530 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3187, 5531, 0));

	} else if (object.getX() == 3169 && object.getY() == 5510 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3159, 5501, 0));

	} else if (object.getX() == 3159 && object.getY() == 5501 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3169, 5510, 0));

	} else if (object.getX() == 3165 && object.getY() == 5515 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3173, 5530, 0));

	} else if (object.getX() == 3173 && object.getY() == 5530 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3165, 5515, 0));

	} else if (object.getX() == 3156 && object.getY() == 5523 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3152, 5520, 0));

	} else if (object.getX() == 3152 && object.getY() == 5520 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3156, 5523, 0));

	} else if (object.getX() == 3148 && object.getY() == 5533 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3153, 5537, 0));

	} else if (object.getX() == 3153 && object.getY() == 5537 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3148, 5533, 0));

	} else if (object.getX() == 3143 && object.getY() == 5535 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3147, 5541, 0));

	} else if (object.getX() == 3147 && object.getY() == 5541 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3143, 5535, 0));

	} else if (object.getX() == 3168 && object.getY() == 5541 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3171, 5542, 0));

	} else if (object.getX() == 3171 && object.getY() == 5542 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3168, 5541, 0));

	} else if (object.getX() == 3190 && object.getY() == 5549 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3190, 5554, 0));

	} else if (object.getX() == 3190 && object.getY() == 5554 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3190, 5549, 0));

	} else if (object.getX() == 3180 && object.getY() == 5557 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3174, 5558, 0));

	} else if (object.getX() == 3174 && object.getY() == 5558 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3180, 5557, 0));

	} else if (object.getX() == 3162 && object.getY() == 5557 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3158, 5561, 0));

	} else if (object.getX() == 3158 && object.getY() == 5561 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3162, 5557, 0));

	} else if (object.getX() == 3166 && object.getY() == 5553 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3162, 5545, 0));

	} else if (object.getX() == 3162 && object.getY() == 5545 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3166, 5553, 0));

	} else if (object.getX() == 3273 && object.getY() == 5460 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3280, 5460, 0));

	} else if (object.getX() == 3280 && object.getY() == 5460 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3273, 5460, 0));

	} else if (object.getX() == 3142 && object.getY() == 5545 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3115, 5528, 0));
	} else if (object.getX() == 3183 && object.getY() == 5470 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3059, 3549, 0));

	} else if (object.getX() == 3248 && object.getY() == 5490 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3120, 3571, 0));

	} else if (object.getX() == 3292 && object.getY() == 5479 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3166, 3561, 0));

	} else if (object.getX() == 3291 && object.getY() == 5538 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3166, 3618, 0));

	} else if (object.getX() == 3234 && object.getY() == 5559 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3107, 3640, 0));

	} else if (object.getX() == 3115 && object.getY() == 5528 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3142, 5545, 0));

	} else if (object.getX() == 3120 && object.getY() == 3571 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3248, 5490, 0));

	} else if (object.getX() == 3129 && object.getY() == 3587 && object.getPlane() == 0) {
		player.setNextWorldTile(new WorldTile(3234, 5559, 0));

	}
	}
}
